<?php session_start();
$MQ = "mysql_query";
$MFA = "mysql_fetch_array";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="pt-br" />
<title>ADM</title>
<link href="estilos.css" rel="stylesheet" type="text/css" />
<link href="ORD_TAB/DataTables-1.7.5/media/css/demo_table_jui.css" type="text/css" rel="alternate stylesheet" />

<script src="jquery.js" type="text/javascript"></script>
<script src="jquery.form.js" type="text/javascript"></script>
<script src="upload.js" type="text/javascript"></script>
<script type="text/javascript" src="Editor/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
	tinyMCE.init({
		mode : "textareas",
		theme : "simple"
	});
</script>
</head>
<body>
<?php
include('conexao.php');
if(!isset($_SESSION['usuario'])){
 @include('login.php');
}else{
$us_ms = @$_GET['usu_msg'];
$usu = @$_SESSION['usuario'];
if($us_ms == "errado"){
	$us_ms = "Atenção! Usuário e/ou Senha com erros";
	session_destroy();
	include('login.php');
	exit;
}elseif (isset($_SESSION['usuario'])){
	$us_ms = "Vocês está logado como $usu";
}
else {
	$us_ms = "";
}
@include('topo.php');
@include('meio.php');
@include('base.php');
}?>

</body>
</html>
